using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FlatRedBall;
using FlatRedBall.Input;
using FlatRedBall.AI.Pathfinding;
using FlatRedBall.Graphics.Animation;
using FlatRedBall.Graphics.Particle;
using FlatRedBall.Math.Geometry;
using FlatRedBall.Math.Splines;

#if FRB_XNA || SILVERLIGHT
using Keys = Microsoft.Xna.Framework.Input.Keys;
using Vector3 = Microsoft.Xna.Framework.Vector3;
using Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D;
#endif

namespace WinRos_Xna.Screens
{
	public partial class ControlScreen
	{
        Keyboard keyboard = InputManager.Keyboard;
        Xbox360GamePad controller1 = InputManager.Xbox360GamePads[0];

		public void CustomInitialize()
		{


		}

		public void CustomActivity(bool firstTimeCalled)
		{

            if (keyboard.KeyDown(Keys.X) || controller1.ButtonDown(Xbox360GamePad.Button.X))
            {
                //control scheme one
                GlobalData.controlType = true;
                MoveToScreen(typeof(WinRos_Xna.Screens.IrobotCreateScreen).FullName);
            }

            if (keyboard.KeyDown(Keys.A) || controller1.ButtonDown(Xbox360GamePad.Button.A))
            {
                //control scheme two for chad
                //not implemented
                GlobalData.controlType = false;
                MoveToScreen(typeof(WinRos_Xna.Screens.IrobotCreateScreen).FullName);
            }
		}

		public void CustomDestroy()
		{


		}

        private static void CustomLoadStaticContent(string contentManagerName)
        {


        }

	}
}
